package com.infore.authorityManagement.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.infore.authorityManagement.entity.CurrentUserInfo;

public interface ICurrentUserInfoRepository extends JpaRepository<CurrentUserInfo, String>{

    
    CurrentUserInfo findByToken(String token);
    
    CurrentUserInfo findByUserAccount(String userAccount);
    
}
